package com.example.mybatis_test.entity.stu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ican
 * @since 2023-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Stu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生名称
     */
    private String stuName;

    /**
     * 教师id
     */
    private Integer teaId;


}
